package com.baijiayun.liveuibase.widgets.toolbar;

import com.baijiayun.livecore.context.LPConstants.PPTEditMode;
import com.baijiayun.livecore.context.LPConstants.ShapeType;
import com.baijiayun.liveuibase.base.BaseUIConstant.SelectSrc;

/**
 * 画笔变更数据结构
 */
public class ShapeChangeData {
    private SelectSrc selectSrc;
    private PPTEditMode pptEditMode;
    private ShapeType shapeType;
    private boolean needInvalidate = true;

    public SelectSrc getSelectSrc() {
        return selectSrc;
    }

    public PPTEditMode getPptEditMode() {
        return pptEditMode;
    }

    public ShapeType getShapeType() {
        return shapeType;
    }

    public ShapeChangeData(SelectSrc selectSrc, PPTEditMode pptEditMode, ShapeType shapeType) {
        this.selectSrc = selectSrc;
        this.pptEditMode = pptEditMode;
        this.shapeType = shapeType;
    }

    public ShapeChangeData(PPTEditMode pptEditMode) {
        this.pptEditMode = pptEditMode;
    }

    public boolean isNeedInvalidate() {
        return needInvalidate;
    }

    public void setNeedInvalidate(boolean needInvalidate) {
        this.needInvalidate = needInvalidate;
    }
}
